[INFO] cloning repository https://github.com/nacardin/win-hid-info
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nacardin/win-hid-info" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacardin%2Fwin-hid-info", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacardin%2Fwin-hid-info'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6da951bef31aeedd338ccdd68a82a26074c8be8c
[INFO] building nacardin/win-hid-info against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacardin%2Fwin-hid-info" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nacardin/win-hid-info on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nacardin/win-hid-info
[INFO] finished tweaking git repo https://github.com/nacardin/win-hid-info
[INFO] tweaked toml for git repo https://github.com/nacardin/win-hid-info written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a0b7fd64d89ab8272b7a697e0d7e94ccc19f27dbf4bb0b4cf58a1fc37a2b4e3d
[INFO] running `Command { std: "docker" "start" "-a" "a0b7fd64d89ab8272b7a697e0d7e94ccc19f27dbf4bb0b4cf58a1fc37a2b4e3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0b7fd64d89ab8272b7a697e0d7e94ccc19f27dbf4bb0b4cf58a1fc37a2b4e3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0b7fd64d89ab8272b7a697e0d7e94ccc19f27dbf4bb0b4cf58a1fc37a2b4e3d", kill_on_drop: false }`
[INFO] [stdout] a0b7fd64d89ab8272b7a697e0d7e94ccc19f27dbf4bb0b4cf58a1fc37a2b4e3d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 13ac3176dc7134cadc27bd8ab9d87d949f26fb48588a46a5f8809be8b1377fed
[INFO] running `Command { std: "docker" "start" "-a" "13ac3176dc7134cadc27bd8ab9d87d949f26fb48588a46a5f8809be8b1377fed", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling win_hid_info v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/hidsdi.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::windows::raw::HANDLE as StdHandle;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/hidsdi.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::hidsdi::HIDD_ATTRIBUTES;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/hidsdi.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::hidsdi::{
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/hidsdi.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::minwindef::DWORD;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/hidsdi.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::ntdef::FALSE;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/hidsdi.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/hidsdi.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::winnt::{HANDLE, PVOID, WCHAR};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/setupapi.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::hidclass::GUID_DEVINTERFACE_HID;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/setupapi.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::minwindef::{DWORD, FALSE};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/setupapi.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/setupapi.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/setupapi.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::setupapi::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/setupapi.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::setupapi::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/setupapi.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::winnt::WCHAR;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/util.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/util.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::winbase::FormatMessageW;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/util.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::winbase::{
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/util.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::winnt::LPWSTR;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/lib.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::windows::fs::OpenOptionsExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/lib.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::os::windows::io::AsRawHandle;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::setupapi::HDEVINFO;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StdHandle` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn get_attributes(device_handle: StdHandle) -> HIDD_ATTRIBUTES {
[INFO] [stdout]    |                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HIDD_ATTRIBUTES` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:16:52
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn get_attributes(device_handle: StdHandle) -> HIDD_ATTRIBUTES {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HIDD_ATTRIBUTES` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:17:40
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn get_attributes(device_handle: StdHandle) -> HIDD_ATTRIBUTES {
[INFO] [stdout]    |                      - help: you might be missing a type parameter: `<HIDD_ATTRIBUTES>`
[INFO] [stdout] 17 |     let mut attributes = MaybeUninit::<HIDD_ATTRIBUTES>::uninit();
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetAttributes` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             HidD_GetAttributes(device_handle as HANDLE, attributes.as_mut_ptr()) == FALSE;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:21:49
[INFO] [stdout]    |
[INFO] [stdout] 21 |             HidD_GetAttributes(device_handle as HANDLE, attributes.as_mut_ptr()) == FALSE;
[INFO] [stdout]    |                                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:21:85
[INFO] [stdout]    |
[INFO] [stdout] 21 |             HidD_GetAttributes(device_handle as HANDLE, attributes.as_mut_ptr()) == FALSE;
[INFO] [stdout]    |                                                                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |             let error_code = GetLastError();
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:36:22
[INFO] [stdout]    |
[INFO] [stdout] 36 | type StringBuffer = [WCHAR; 127]; // character limit set at 126 in docs for HidD_GetManufacturerString, HidD_GetProductString, and HidD_G...
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StdHandle` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:39:40
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn get_manufacturer(device_handle: StdHandle) -> Option<String> {
[INFO] [stdout]    |                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetManufacturerString` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let has_error = HidD_GetManufacturerString(
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:43:30
[INFO] [stdout]    |
[INFO] [stdout] 43 |             device_handle as HANDLE,
[INFO] [stdout]    |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:44:49
[INFO] [stdout]    |
[INFO] [stdout] 44 |             manufacturer_string.as_mut_ptr() as PVOID,
[INFO] [stdout]    |                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:45:35
[INFO] [stdout]    |
[INFO] [stdout] 45 |             STRING_BUFFER_SIZE as DWORD,
[INFO] [stdout]    |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |         ) == FALSE;
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |             let error_code = GetLastError();
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StdHandle` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:67:35
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn get_product(device_handle: StdHandle) -> Option<String> {
[INFO] [stdout]    |                                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetProductString` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let has_error = HidD_GetProductString(
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:71:30
[INFO] [stdout]    |
[INFO] [stdout] 71 |             device_handle as HANDLE,
[INFO] [stdout]    |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:72:37
[INFO] [stdout]    |
[INFO] [stdout] 72 |             product.as_mut_ptr() as PVOID,
[INFO] [stdout]    |                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:73:35
[INFO] [stdout]    |
[INFO] [stdout] 73 |             STRING_BUFFER_SIZE as DWORD,
[INFO] [stdout]    |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 |         ) == FALSE;
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:77:30
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let error_code = GetLastError();
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StdHandle` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:91:41
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn get_serial_number(device_handle: StdHandle) -> Option<String> {
[INFO] [stdout]    |                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:92:36
[INFO] [stdout]    |
[INFO] [stdout] 92 |     const ERROR_INVALID_PARAMETER: DWORD = 87;
[INFO] [stdout]    |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetSerialNumberString` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:96:25
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let has_error = HidD_GetSerialNumberString(
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:97:30
[INFO] [stdout]    |
[INFO] [stdout] 97 |             device_handle as HANDLE,
[INFO] [stdout]    |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:98:43
[INFO] [stdout]    |
[INFO] [stdout] 98 |             serial_number.as_mut_ptr() as PVOID,
[INFO] [stdout]    |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/hidsdi.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 99 |             STRING_BUFFER_SIZE as DWORD,
[INFO] [stdout]    |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/hidsdi.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 |         ) == FALSE;
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/hidsdi.rs:102:30
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let error_code = GetLastError();
[INFO] [stdout]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]   --> src/setupapi.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn get_device_info_set() -> HDEVINFO {
[INFO] [stdout]    |                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsW` in this scope
[INFO] [stdout]   --> src/setupapi.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let handle = SetupDiGetClassDevsW(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_DEVINTERFACE_HID` in this scope
[INFO] [stdout]   --> src/setupapi.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &GUID_DEVINTERFACE_HID,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_PRESENT` in this scope
[INFO] [stdout]   --> src/setupapi.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             DIGCF_PRESENT | DIGCF_DEVICEINTERFACE,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_DEVICEINTERFACE` in this scope
[INFO] [stdout]   --> src/setupapi.rs:28:29
[INFO] [stdout]    |
[INFO] [stdout] 28 |             DIGCF_PRESENT | DIGCF_DEVICEINTERFACE,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope
[INFO] [stdout]   --> src/setupapi.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |         if handle == INVALID_HANDLE_VALUE {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/setupapi.rs:32:30
[INFO] [stdout]    |
[INFO] [stdout] 32 |             let error_code = GetLastError();
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]   --> src/setupapi.rs:45:22
[INFO] [stdout]    |
[INFO] [stdout] 45 |     device_info_set: HDEVINFO,
[INFO] [stdout]    |                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/setupapi.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |     device_index: DWORD,
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DATA` in this scope
[INFO] [stdout]   --> src/setupapi.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn get_device_interface(
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `<SP_DEVICE_INTERFACE_DATA>`
[INFO] [stdout] ...
[INFO] [stdout] 47 | ) -> Option<SP_DEVICE_INTERFACE_DATA> {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/setupapi.rs:48:32
[INFO] [stdout]    |
[INFO] [stdout] 48 |     const ERROR_NO_MORE_ITEMS: DWORD = 259;
[INFO] [stdout]    |                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DATA` in this scope
[INFO] [stdout]   --> src/setupapi.rs:50:51
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn get_device_interface(
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `<SP_DEVICE_INTERFACE_DATA>`
[INFO] [stdout] ...
[INFO] [stdout] 50 |     let mut device_interface_data = MaybeUninit::<SP_DEVICE_INTERFACE_DATA>::zeroed();
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DATA` in this scope
[INFO] [stdout]   --> src/setupapi.rs:54:23
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn get_device_interface(
[INFO] [stdout]    |                            - help: you might be missing a type parameter: `<SP_DEVICE_INTERFACE_DATA>`
[INFO] [stdout] ...
[INFO] [stdout] 54 |             size_of::<SP_DEVICE_INTERFACE_DATA>() as DWORD;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/setupapi.rs:54:54
[INFO] [stdout]    |
[INFO] [stdout] 54 |             size_of::<SP_DEVICE_INTERFACE_DATA>() as DWORD;
[INFO] [stdout]    |                                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiEnumDeviceInterfaces` in this scope
[INFO] [stdout]   --> src/setupapi.rs:56:25
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let has_error = SetupDiEnumDeviceInterfaces(
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GUID_DEVINTERFACE_HID` in this scope
[INFO] [stdout]   --> src/setupapi.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 |             &GUID_DEVINTERFACE_HID,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/setupapi.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 |         ) == FALSE;
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/setupapi.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let error_code = GetLastError();
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]   --> src/setupapi.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |     device_info_set: HDEVINFO,
[INFO] [stdout]    |                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]   --> src/setupapi.rs:82:28
[INFO] [stdout]    |
[INFO] [stdout] 82 |     device_info_data: &mut SP_DEVINFO_DATA,
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stdout]   --> src/setupapi.rs:85:26
[INFO] [stdout]    |
[INFO] [stdout] 85 |     type StringBuffer = [WCHAR; 1024]; // guess buffer size
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/setupapi.rs:89:32
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut reg_data_type: DWORD = 0;
[INFO] [stdout]    |                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceRegistryPropertyW` in this scope
[INFO] [stdout]   --> src/setupapi.rs:93:25
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let has_error = SetupDiGetDeviceRegistryPropertyW(
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_PHYSICAL_DEVICE_OBJECT_NAME` in this scope
[INFO] [stdout]   --> src/setupapi.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |             SPDRP_PHYSICAL_DEVICE_OBJECT_NAME,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/setupapi.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 99 |             STRING_BUFFER_SIZE as DWORD,
[INFO] [stdout]    |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/setupapi.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 |         ) == FALSE;
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/setupapi.rs:106:30
[INFO] [stdout]     |
[INFO] [stdout] 106 |             let error_code = GetLastError();
[INFO] [stdout]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stdout]    --> src/setupapi.rs:120:19
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct DeviceInterfaceDetail {
[INFO] [stdout]     |                                 - help: you might be missing a type parameter: `<WCHAR>`
[INFO] [stdout] 120 |     pub path: Vec<WCHAR>,
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]    --> src/setupapi.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub device_info: SP_DEVINFO_DATA,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]    --> src/setupapi.rs:125:22
[INFO] [stdout]     |
[INFO] [stdout] 125 |     device_info_set: HDEVINFO,
[INFO] [stdout]     |                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DATA` in this scope
[INFO] [stdout]    --> src/setupapi.rs:126:33
[INFO] [stdout]     |
[INFO] [stdout] 126 |     device_interface_data: &mut SP_DEVICE_INTERFACE_DATA,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/setupapi.rs:128:38
[INFO] [stdout]     |
[INFO] [stdout] 128 |     const ERROR_INSUFFICIENT_BUFFER: DWORD = 122;
[INFO] [stdout]     |                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/setupapi.rs:130:28
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let mut required_size: DWORD = 0;
[INFO] [stdout]     |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInterfaceDetailW` in this scope
[INFO] [stdout]    --> src/setupapi.rs:134:25
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let has_error = SetupDiGetDeviceInterfaceDetailW(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/setupapi.rs:141:14
[INFO] [stdout]     |
[INFO] [stdout] 141 |         ) == FALSE;
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/setupapi.rs:146:30
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let error_code = GetLastError();
[INFO] [stdout]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DETAIL_DATA_W` in this scope
[INFO] [stdout]    --> src/setupapi.rs:163:30
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn get_device_interface_detail(
[INFO] [stdout]     |                                   - help: you might be missing a type parameter: `<SP_DEVICE_INTERFACE_DETAIL_DATA_W>`
[INFO] [stdout] ...
[INFO] [stdout] 163 |         std::mem::align_of::<SP_DEVICE_INTERFACE_DETAIL_DATA_W>(),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DETAIL_DATA_W` in this scope
[INFO] [stdout]    --> src/setupapi.rs:170:44
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let device_interface_detail_data: &mut SP_DEVICE_INTERFACE_DETAIL_DATA_W =
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DETAIL_DATA_W` in this scope
[INFO] [stdout]    --> src/setupapi.rs:173:53
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn get_device_interface_detail(
[INFO] [stdout]     |                                   - help: you might be missing a type parameter: `<SP_DEVICE_INTERFACE_DETAIL_DATA_W>`
[INFO] [stdout] ...
[INFO] [stdout] 173 |     device_interface_detail_data.cbSize = size_of::<SP_DEVICE_INTERFACE_DETAIL_DATA_W>() as DWORD;
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/setupapi.rs:173:93
[INFO] [stdout]     |
[INFO] [stdout] 173 |     device_interface_detail_data.cbSize = size_of::<SP_DEVICE_INTERFACE_DETAIL_DATA_W>() as DWORD;
[INFO] [stdout]     |                                                                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]    --> src/setupapi.rs:175:46
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn get_device_interface_detail(
[INFO] [stdout]     |                                   - help: you might be missing a type parameter: `<SP_DEVINFO_DATA>`
[INFO] [stdout] ...
[INFO] [stdout] 175 |     let mut device_info_data = MaybeUninit::<SP_DEVINFO_DATA>::zeroed();
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]    --> src/setupapi.rs:178:61
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn get_device_interface_detail(
[INFO] [stdout]     |                                   - help: you might be missing a type parameter: `<SP_DEVINFO_DATA>`
[INFO] [stdout] ...
[INFO] [stdout] 178 |         (*device_info_data.as_mut_ptr()).cbSize = size_of::<SP_DEVINFO_DATA>() as DWORD;
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/setupapi.rs:178:83
[INFO] [stdout]     |
[INFO] [stdout] 178 |         (*device_info_data.as_mut_ptr()).cbSize = size_of::<SP_DEVINFO_DATA>() as DWORD;
[INFO] [stdout]     |                                                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInterfaceDetailW` in this scope
[INFO] [stdout]    --> src/setupapi.rs:180:25
[INFO] [stdout]     |
[INFO] [stdout] 180 |         let has_error = SetupDiGetDeviceInterfaceDetailW(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/setupapi.rs:187:14
[INFO] [stdout]     |
[INFO] [stdout] 187 |         ) == FALSE;
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/setupapi.rs:190:30
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let error_code = GetLastError();
[INFO] [stdout]     |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stdout]   --> src/util.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn format_winapi_error(error_code: u32) -> String {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `<LPWSTR>`
[INFO] [stdout] 12 |     let mut message_buffer = MaybeUninit::<LPWSTR>::uninit();
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope
[INFO] [stdout]   --> src/util.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let has_error = FormatMessageW(
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_ALLOCATE_BUFFER` in this scope
[INFO] [stdout]   --> src/util.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |             FORMAT_MESSAGE_ALLOCATE_BUFFER
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope
[INFO] [stdout]   --> src/util.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 | FORMAT_MESSAGE_FROM_SYSTEM
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope
[INFO] [stdout]   --> src/util.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 | FORMAT_MESSAGE_IGNORE_INSERTS,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/util.rs:28:34
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let new_error_code = GetLastError();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]   --> src/lib.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 |     device_info_set: HDEVINFO,
[INFO] [stdout]    |                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `access_mode` found for struct `OpenOptions` in the current scope
[INFO] [stdout]   --> src/lib.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 |             .access_mode(0)
[INFO] [stdout]    |              ^^^^^^^^^^^ method not found in `OpenOptions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 105 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `win_hid_info`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "13ac3176dc7134cadc27bd8ab9d87d949f26fb48588a46a5f8809be8b1377fed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13ac3176dc7134cadc27bd8ab9d87d949f26fb48588a46a5f8809be8b1377fed", kill_on_drop: false }`
[INFO] [stdout] 13ac3176dc7134cadc27bd8ab9d87d949f26fb48588a46a5f8809be8b1377fed
